package com.think.teaching.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.think.teaching.model.ActionType;


/**
 * 事件类型接口
 * @author 赵兴
 * 2020-11-12
 */
@Mapper
public interface ActionTypeMapper extends BaseMapper<ActionType> {

	@Select("SELECT count(*) FROM action_type where name=#{name}")
	int getSameNameActionTypeNums(String name);
}
